package cn.net.zhenchan.service;


import cn.net.zhenchan.common.ServiceMessage;
import cn.net.zhenchan.model.User;

import java.util.List;
import java.util.Map;

public interface BbsUserService {

	public List<User> queryAllUsers();
	
	public Map<String,Object> queryAllUsersByPage(User user, int pageNo, int pageSize);
	
	User queryUserById(Long userId);
	
	ServiceMessage<String> deleteUserById(List<Long> ids);
	
	ServiceMessage<String> addUser(User user);
	
	ServiceMessage<String> updateUser(User user);
	
	User queryLoginCondition(User user);
    
    User queryUserNameExists(User user);
    
    User queryLoginFontCondition(User user);
    
    void updateBbsUserReplyStatus(Long userId);
    
    List<User> queryBbsUserByIds(List<Long> ids);
    
    User statisticsBbsUsers();
    
    User queryBbsUserByEmail(String email);
    
    User queryBbsUserByEmailWithoutValidation(String email);
    //查询前10帖子最多的
    List<User> queryTop10BBsUsers();
    List<User> queryAllBBsUsers();
    List<User> queryManufactureUsers();
}
